package model;

public class DefaultPhilosopherProtocol extends PhilosopherProtocol {

	public DefaultPhilosopherProtocol() {
		super();
	}
	@Override
	public void onThinkingState() {
		this.getPhilosopher().setState(Eating.getInstance());
	}

	@Override
	public void onEatingState() {
		this.getPhilosopher().setState(Thinking.getInstance());
	}

	@Override
	public void onLeftTokenObtainedState() {
		this.getPhilosopher().setState(Thinking.getInstance());				
	}
	
	@Override
	public void onStopEating() {
		this.getPhilosopher().setState(Thinking.getInstance());
	}
}
